home *** CD-ROM | disk | FTP | other *** search
Text File | 1989-07-12 | 846 b | 30 lines | [TEXT/GEOL] |
- Item 0485945 28-June-89 18:25
-
- From: D2215 Dac SW, Wilma Blair, PRT
-
- To: MACAPP.TECH$ MACAPP Tech
-
- Sub: DimState for popUp menu
-
- If I dim a popup menu by aPopup.DimState (true, true), it gets dimmed, but a
- mousePress at its location causes it to become active and non-dim.
-
- I think that popup menus should function just like buttons, which when dimmed
- will not allow you to push them and make them active.
-
- Would the proper fix be to override TPopup.DimState as:
-
- PROCEDURE TPopup.DimState (state, redraw: BOOLEAN);
- BEGIN
- fViewEnabled:= NOT state;
- INHERITED DimState (state, redraw);
- END;
-
- or should this be done at the TControl level (I have not checked that dimming
- other dialog types actually disables them).
-
- Regards, Les Caudle
-
-
-
-